git fetch

添加远程仓库

1
2
3
git remote -v
git remote add Cardinfolink https://github.com/944189562/neuteam.git
git remote -v

获取远程仓库代码

1
2
git fetch Cardinfolink
git merge Cardinfolink/master

同步远程仓库新分支

1
2
git checkout -b newBranch Cardinfolink/newBranch
git push origin newBranch
>